body{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html,body{
    height: 100%;
    /* 背景图片平铺 */
    background-size: cover;
    /* 模糊背景 */
    backdrop-filter:blur(50px);
    overflow: hidden;
}
.upper-container{
    width: 80%;
    height:80%;
    padding-left: 10%;
}
.recorder-container{
    width: 50%;
    height: 100%;
    float: left;
    /* 在唱片板块中垂直居中 */
    display: flex;
    justify-content: center;
    align-items: center;
}
.record-bg{
    background-color: black;
    /* 在黑色背景上垂直居中居中对齐 */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 500px;
    height: 500px;
    border-radius: 500px;
    
}
.rotate-play{
    background-image: url("../IMG/微信图片_20230904105708.jpg");
    background-size: 100% 100%;
    width: 250px;
    height: 250px;
    border-radius: 250px;
    
}
.introduction-container{
    width: 50%;
    height:100%;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
}
.text-container{
    width:80%;
    padding-left: 20px;
}
.music-title{
    font-size :4rem;
    color:aliceblue;
    margin-bottom: 5px;
}
.author-container{
    color:rgb(171,171,171);
    font-size:medium;
}

/* 下半部分 */
.audio-box{
    width: 100%;
    height: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: rgb(255, 218, 169); */
}
.audio-container{
    width: 90%;
    height: 20%;
    /* background-color: #ffdada; */
}
.a-progress{
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}
.pgs-total{
    width: 100%;
    height: 13px;
    background-color: rgb(207, 255, 255);
    border-radius: 10px;
    position: relative;
}
/* 进度条的绿色部分 */
 /* .pgs-play::before{
    content: '';
    position: absolute;
    top: 7px;
    bottom: 7px;
    left: 0px;
    right: 0px;
    background-color: #96ff9e;
    border-radius: 10px;
    z-index: 1;
} 
 .pgs-play::after{
    content: '';
    position: absolute;
    top: 7px;
    bottom: 7px;
    left: 0px;
    right: 0px;
    /* background-color: #bbb; */
     /* border-radius: 10px;
    z-index: -1;
} */

.pgs-play{
    width: 0%;
    height: 100%;
    border-radius: 10px;
    background-color: #fffb8c; 

}
/* 播放时间 */
.time-container{
    width: 30%;
    color: white;
    font-weight: 300;
    float: left;
}
.a-controls{
    width: 100%;
}
.center-button-container{
    width: 40%;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
}
.center-icon:hover{
    opacity: 0.7;
}
.center-icon:active{
    opacity: 0.6;
}
.center-icon{
    width: 30px;
    height: 30px;
    margin-left: 10px;
    margin-right: 10px;
}
.mode{
    background-image: url(../IMG/mode1.png);
    background-size: 100% 100%;
}
.s-left{
    background-image: url(../IMG/上一首.png);
    background-size: 100% 100%;
}
.icon-play{
    width: 50px;
    height: 50px;
    background-image: url(../IMG/暂停.png);
    background-size: 100% 100%;
}
.icon-pause{
    width: 50px;
    height: 50px;
    background-image: url(../IMG/开始.png);
    background-size: 100% 100%;
}
.s-right{
    background-image: url(../IMG/下一首.png);
    background-size: 100% 100%;
}
.volumn{
    background-image: url(../IMG/音量.png);
    background-size: 100% 100%;
}

/* 右下角区域 */
.bottom-button-container{
    float: right;
    width: 30%;
    padding-top: 10px;
    float: left;
    text-align: right;
}
.buttom-icon:hover{
    opacity: 0.7;
}
.buttom-icon:active{
    opacity: 0.6;
}
.bottom-icon{
    float: right;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 3px;
}
.speed:hover{
    opacity: 0.7;
}
.speed:active{
    opacity: 0.6;
}
.speed{
    float: right;
    color: white;
    margin: 0 10px;
}
.list{
    background-image: url(../IMG/歌曲列表.png);
    background-size: 100% 100%;
}
.MV{
    background-image: url(../IMG/MV.png);
    background-size: 100% 100%;
}

/* 关音乐列表 */
.close-list{
    display: none;
    width: 75%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color:transparent;
}

/* 音乐列表 */
.music-list{
    /* 隐藏列表 */
    display: none;
    width: 25%;
    height: 100%;
    background-color: rgb(255, 238, 213);
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2;
}
.music-list-container{
    width: 100%;
}
.music-list-title{
    color: black;
    font-size: 2rem;
    font-weight: 300;
    padding: 10% 15% 0 15%;
}
.line{
    height: 1px;
    width: 70%;
    border: none;
    border-top: 1px dashed gray;
}
.all-list div{
    height: 50px;
    line-height: 50px;
    color: rgb(15, 14, 14);
    font-weight: 300;
    padding: 0 15% 0 15%;
}
.all-list div:hover{
    background-color: #9dfffc;
}
/* 唱片旋转动画 */
.rotate-play{
    animation: rotate 10s infinite linear !important;
    /* 需要写在animation属性的后面，暂停才会生效 */
    animation-play-state: paused;
    /* 动画结束后保持动画最后一帧的状态 */
    animation-fill-mode: forwards;
}
/* 动画-唱片 */
@keyframes rotate{
    from{
        transform:rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#volumn-togger{
    width: 100px;
    height: 5px;
    appearance: none;
    background-color: #dcdcdc;
    outline: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 0 0 5px #dcdcdc;
}
#volumn-togger::-webkit-slider-thumb{
    -webkit-appearance: none;
    width: 1px;
    height: 5px;
    background: #96ff9e;
    border-radius: 50%;
    cursor: pointer;
    border: 4px solid #fff;
    box-shadow: -407px 0 0 400px #96ff9e;
}

.list-card-show{
    animation: showAni 1s;
    animation-fill-mode: forwards;
}
/* 音乐列表展开动画 */
@keyframes showAni{
    /* 初始状态 */
    from{
        transform: translateX(100%);
    }
    /* 结束状态 */
    to {
        transform: translateX(0);
    }
}

.list-card-hide{
    animation: hideAni 1s;
    animation-fill-mode: forwards;
}
/* 音乐列表关闭动画 */
@keyframes hideAni{
    /* 初始状态 */
    from{
        transform: translateX(0);
    }
    /* 结束状态 */
    to {
        transform: translateX(100%);
    }
}